package com.learn.eduadboot.service;

import com.learn.eduadboot.mapper.PromotionSpaceDao;
import com.learn.eduapi.entity.ad.PromotionSpace;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.conditions.Wrapper;

import java.util.List;

public interface PromotionSpaceService {
   List<PromotionSpace>  getAllPromotionSpace(@Param("find")String find, @Param("page")Integer page, @Param("size")Integer size);
   int updatePromotionSpace(PromotionSpace promotionSpace, Wrapper<PromotionSpace> promotionSpaceWrapper);
   PromotionSpace selectBy(String name,String spaceKey);
   int addSpace(PromotionSpace promotionSpace);
   int removeAdSpace(Integer id);

}
